﻿<script src="js/editor.js" type="text/javascript" ></script>
<link rel="stylesheet" type="text/css" href="css/editor.css">
<body scrolling=no style='margin:0px'>
<input type="hidden" name="body" id="body" value=""/>
<table id="Container" class="Body" width="100%" height="100%" cellpadding="3" cellspacing="0" border="0" >
    <tr id="Toolbars">
        <td >
            <table cellpadding="0" cellspacing="0">
                <tr class="yToolbar">
                    <td>
                        <select language="javascript"
                                class="TBGen"
                                id="FontSize"
                                onchange="format('fontsize',this[this.selectedIndex].value);">
                            <option class="heading" selected>Size...</option>
                            <option value="1">1</option>
                            <option value="2">2</option>
                            <option value="3">3</option>
                            <option value="4">4</option>
                            <option value="5">5</option>
                            <option value="6">6</option>
                            <option value="7">7</option>
                        </select> </td>
                    <td class="Btn" language="javascript" title="bold" onclick="format('bold');">
                        <img class="Ico" src="images/bold.gif" width="16" height="16" unselectable="on">
                    </td>
                    <td class="Btn" language="javascript" title="italic" onclick="format('italic');">
                        <img class="Ico" src="images/italic.gif" width="16" height="16" unselectable="on">
                    </td>
                    <td class="Btn" language="javascript" title="underline" onclick="format('underline');">
                        <img class="Ico" src="images/underline.gif" width="16" height="16" unselectable="on">
                    </td>
                    <td class="Btn" language="javascript" title="strikethrough" onclick="format('strikethrough');">
                        <img class="Ico" src="images/strikethrough.gif" width="16" height="16" unselectable="on">
                    </td>
                    <td class="Btn" language="javascript" title="subscript" onclick="format('subscript');">
                        <img class="Ico" src="images/subscript.gif" width="16" height="16" unselectable="on">
                    </td>
                    <td class="Btn" language="javascript" title="superscript" onclick="format('superscript');">
                        <img class="Ico" src="images/superscript.gif" width="16" height="16" unselectable="on">
                    </td>
                    <td class="Btn" language="javascript" title="bullist" onclick="format('insertunorderedlist');">
                        <img class="Ico" src="images/bullist.gif" width="16" height="16" unselectable="on">
                    </td>
                    <td class="Btn" language="javascript" title="numlist" onclick="format('insertorderedlist');">
                        <img class="Ico" src="images/numlist.gif" width="16" height="16" unselectable="on">
                    </td>
                    <td class="Btn" language="javascript" title="removeformat" onclick="format1('removeformat');">
                        <img class="Ico" src="images/removeformat.gif" width="16" height="16" unselectable="on">
                    </td>
                    <td class="Btn" language="javascript" title="indent" onclick="format('indent');">
                        <img class="Ico" src="images/indent.gif" width="16" height="16" unselectable="on">
                    </td>
                    <td class="Btn" language="javascript" title="outdent" onclick="format('outdent');">
                        <img class="Ico" src="images/outdent.gif" width="16" height="16" unselectable="on">
                    </td>
                    <td class="Btn" language="javascript" title="aleft" onclick="format('justifyleft');">
                        <img class="Ico" src="images/aleft.gif" width="16" height="16" unselectable="on">
                    </td>
                    <td class="Btn" language="javascript" title="center" onclick="format('justifycenter');">
                        <img class="Ico" src="images/center.gif" width="16" height="16" unselectable="on">
                    </td>
                    <td class="Btn" language="javascript" title="aright" onclick="format('justifyright');">
                        <img class="Ico" src="images/aright.gif" width="16" height="16" unselectable="on">
                    </td>
                    <td class="Btn" language="javascript" title="InsertHorizontalRule" onclick="format('InsertHorizontalRule');">
                        <img class="Ico" src="images/hr.gif" width="16" height="16" unselectable="on">
                    </td>
                    <td class="Btn" language="javascript" onclick="insertHtml('&lt;br&gt;&nbsp;');">
                        <img class="Ico" src="images/br.gif" title="insertBr" width="16" height="16" unselectable="on"/>
                    </td>
                    <td class="Btn" language="javascript" title="fgcolor" onclick="foreColor();">
                        <img class="Ico" src="images/fgcolor.gif" width="16" height="16" unselectable="on">
                    </td>
                    <td class="Btn" language="javascript" title="fbcolor" onclick="backColor();">
                        <img class="Ico" src="images/fbcolor.gif" width="16" height="16" unselectable="on">
                    </td>
                    <td class="Btn" language="javascript" title="wlink" onclick="UserDialog('createlink')">
                        <img class="Ico" src="images/wlink.gif" width="18" height="18" unselectable="on">
                    </td>
                    <td class="Btn" language="javascript" title="unlink" onclick="format1('unlink');">
                        <img class="Ico" src="images/unlink.gif" width="16" height="16" unselectable="on">
                    </td>
                    <!--<td class="Btn"  language="javascript" title="quote" onclick="specialtype('<div class=quote>','</div>')">-->
                        <!--<img class="Ico" src="images/quote.gif" width="16" height="16"></td>-->
                    <td class="Btn"  language="javascript" title="cleancode" onclick="cleanAllHtm();">
                        <img class="Ico" src="images/cleancode.gif" width="16" height="16"></td>
                </tr>
            </table></td>
    </tr>
    <tr>
        <td height="100%">
            <input type="hidden" id="richtext" name="richtext">
            <iframe class="composition"
                    id="composition"
                    onblur="copyData('body');"
                    marginheight="5"
                    marginwidth="5"
                    width="100%" height="100%"></iframe>
        </td>
    </tr>
</table>
<script language="javascript">InitDocument('body');</script>
</body>

